import request from "../../request";
import { type R, type DeepRequired } from "../../interface";
import { type AxiosRequestConfig } from "axios";

/**
 * 获取所有 Media 信息
 * /media
 */
export function getMedia(config?: AxiosRequestConfig) {
    return request.get<DeepRequired<R>>(`/media`, config);
}
